package com.guomei.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class DeleteRoleDTO {
    //操作用户
    @NotNull(message = "操作用户不存在")
    private Long operatorId;
    @NotNull(message = "被操作用户不存在")
    private Long userId;
    @NotBlank(message = "角色不存在")
    @NotNull(message = "角色不存在")
    private String roleCode;
}
